package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * weixin_prepay_msg-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class WeixinPrepayMsg extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 微信预订单ID
	 */
	@ApiModelProperty(value = "微信预订单ID")
	 private String prepayId;
	/**
	 * 交易流水号
	 */
	@ApiModelProperty(value = "交易流水号")
	 private String tradeNo;
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
	 private Long userId;
	/**
	 * 支付状态 1：未支付 2：已支付
	 */
	@ApiModelProperty(value = "支付状态 1：未支付 2：已支付")
	 private Integer type;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	 private Timestamp createTime;
    
    public WeixinPrepayMsg(){
    
    }
    
    public String getPrepayId() {
        return this.prepayId;
    }
    
    public void setPrepayId(String prepayId) {
        this.prepayId = prepayId;
    }
    public String getTradeNo() {
        return this.tradeNo;
    }
    
    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
   
}